package tgc.rj.zz.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.stereotype.Repository;

import tgc.rj.zz.custom.CommonRepository;
import tgc.rj.zz.entity.Accredit;

@Repository
public interface AccreditRepository extends CommonRepository<Accredit, Integer> {

	public Page<Accredit> findByLesseeLesseeAdminId(Integer id, Pageable pageable);

	public Page<Accredit> findByLesseeLesseeAdminId(Integer id, Specification<Accredit> buildSpes, Pageable pageable);

}
